projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2aaf43
)
(x_find_modifier_meanings): If some keys are meta and alt,
author
Richard M. Stallman
<rms@gnu.org>
Thu, 20 May 1993 13:43:48 +0000
(13:43 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 20 May 1993 13:43:48 +0000
(13:43 +0000)
make them just meta, not alt.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 91622d7f27d1c6d1b41a22e6e7a4b8f27377cd32..d558f394b3e625bad767f245f4a6d59b012f2702 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-1505,6
+1505,13
@@
x_find_modifier_meanings ()
x_alt_mod_mask = 0;
}
+ /* If some keys are both alt and meta,
+ make them just meta, not alt. */
+ if (x_alt_mod_mask & x_meta_mod_mask)
+ {
+ x_alt_mod_mask &= ~x_meta_mod_mask;
+ }
+
XFree ((char *) syms);
XFreeModifiermap (mods);
}